package cn.fch.gotrip.service;

import cn.fch.gotrip.api.BeanResponse;
import cn.fch.gotrip.entity.Admin;

import javax.servlet.http.HttpServletResponse;

/**
 * @program: gotrip
 * @description:
 * @CreatedBy: fch
 * @create: 2023-01-14 17:08
 **/
public interface AdminService {
    Admin findAdminByName(Admin admin);

    BeanResponse login(Admin admin, HttpServletResponse response);

    BeanResponse getAdminInfoByToken(String token);
}
